package com.ruoyi.pyo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 pet_yeah_wechat_user
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class PetYeahWechatUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户名（昵称，姓名） */
    @Excel(name = "用户名", readConverterExp = "昵=称，姓名")
    private String nickName;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 简介 */
    @Excel(name = "简介")
    private String briefIntroduction;

    /** 联系人/真实姓名 */
    @Excel(name = "联系人/真实姓名")
    private String realName;

    /** 联系方式/电话 */
    @Excel(name = "联系方式/电话")
    private String telNo;

    /** -1-未设置,0-女,1-男 */
    @Excel(name = "-1-未设置,0-女,1-男")
    private Long sex;

    /** openid */
    @Excel(name = "openid")
    private String openid;

    /** unionid */
    @Excel(name = "unionid")
    private String unionid;

    /** 用户余额 */
    @Excel(name = "用户余额")
    private BigDecimal balance;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String dateOfBirth;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 角色状态（0正常 1停用） */
    @Excel(name = "角色状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setBriefIntroduction(String briefIntroduction) 
    {
        this.briefIntroduction = briefIntroduction;
    }

    public String getBriefIntroduction() 
    {
        return briefIntroduction;
    }

    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }

    public void setTelNo(String telNo) 
    {
        this.telNo = telNo;
    }

    public String getTelNo() 
    {
        return telNo;
    }

    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }

    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }

    public void setUnionid(String unionid) 
    {
        this.unionid = unionid;
    }

    public String getUnionid() 
    {
        return unionid;
    }

    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }

    public void setRegisterTime(Date registerTime) 
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime() 
    {
        return registerTime;
    }

    public void setDateOfBirth(String dateOfBirth) 
    {
        this.dateOfBirth = dateOfBirth;
    }

    public String getDateOfBirth() 
    {
        return dateOfBirth;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nickName", getNickName())
            .append("avatar", getAvatar())
            .append("briefIntroduction", getBriefIntroduction())
            .append("realName", getRealName())
            .append("telNo", getTelNo())
            .append("sex", getSex())
            .append("openid", getOpenid())
            .append("unionid", getUnionid())
            .append("balance", getBalance())
            .append("registerTime", getRegisterTime())
            .append("dateOfBirth", getDateOfBirth())
            .append("remarks", getRemarks())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
